package com.gljx.web.service;

import com.gljx.web.Entity.SubjectFile;
import com.gljx.web.Entity.SubjectFileEntry;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

public interface SubjectFileService {

	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);

	void insertSubjectFile(SubjectFile subjectFile);

	void delSubjectFile(String[] fids);

	SubjectFile selectSubjectFileByFid(String fid);

	void updateSubjectFile(SubjectFile subjectFile);

	void submitFlow(SubjectFile subjectFile, String submitFlag,HttpServletRequest request);

	String checkSubject(List<SubjectFileEntry> subjectFileEntries, SubjectFile subjectFile, String state, String agreed, String auditcomment, String submitFlag, HttpServletRequest request);

    String selectAuditPersonByAdd(Object fnumber, String result);
}
